package domain

import (
	"gitee.com/cjsn/topsdk/util"
)

type TmallServicecenterWorkcardDesensitizationQueryMasterTradeOrder struct {
	/*
	   类目id     */
	CategoryId *int64 `json:"category_id,omitempty" `

	/*
	   spu id     */
	SpuId *int64 `json:"spu_id,omitempty" `

	/*
	   签收时间     */
	GmtArrival *util.LocalTime `json:"gmt_arrival,omitempty" `

	/*
	   品牌id     */
	BrandId *int64 `json:"brand_id,omitempty" `

	/*
	   预计签收时间     */
	GmtExpectArrival *util.LocalTime `json:"gmt_expect_arrival,omitempty" `

	/*
	   商家编码     */
	OuterIdSku *string `json:"outer_id_sku,omitempty" `

	/*
	   sku描述     */
	SkuDesc *string `json:"sku_desc,omitempty" `

	/*
	   价格。单位为分     */
	Price *int64 `json:"price,omitempty" `

	/*
	   卖家昵称     */
	SellerNick *string `json:"seller_nick,omitempty" `

	/*
	   店铺名     */
	ShopName *string `json:"shop_name,omitempty" `

	/*
	   sku id     */
	SkuId *int64 `json:"sku_id,omitempty" `

	/*
	   商品id     */
	AuctionId *int64 `json:"auction_id,omitempty" `

	/*
	   商品标题     */
	AuctionTitle *string `json:"auction_title,omitempty" `

	/*
	   商品额外属性     */
	Attributes *string `json:"attributes,omitempty" `

	/*
	   发货时间     */
	GmtShipped *util.LocalTime `json:"gmt_shipped,omitempty" `

	/*
	   付款时间     */
	GmtPay *util.LocalTime `json:"gmt_pay,omitempty" `

	/*
	   订单id     */
	OrderId *int64 `json:"order_id,omitempty" `

	/*
	   购买数量     */
	BuyAmount *int64 `json:"buy_amount,omitempty" `

	/*
	   商品编码     */
	OuterIdP *string `json:"outer_id_p,omitempty" `
}

func (s *TmallServicecenterWorkcardDesensitizationQueryMasterTradeOrder) SetCategoryId(v int64) *TmallServicecenterWorkcardDesensitizationQueryMasterTradeOrder {
	s.CategoryId = &v
	return s
}
func (s *TmallServicecenterWorkcardDesensitizationQueryMasterTradeOrder) SetSpuId(v int64) *TmallServicecenterWorkcardDesensitizationQueryMasterTradeOrder {
	s.SpuId = &v
	return s
}
func (s *TmallServicecenterWorkcardDesensitizationQueryMasterTradeOrder) SetGmtArrival(v util.LocalTime) *TmallServicecenterWorkcardDesensitizationQueryMasterTradeOrder {
	s.GmtArrival = &v
	return s
}
func (s *TmallServicecenterWorkcardDesensitizationQueryMasterTradeOrder) SetBrandId(v int64) *TmallServicecenterWorkcardDesensitizationQueryMasterTradeOrder {
	s.BrandId = &v
	return s
}
func (s *TmallServicecenterWorkcardDesensitizationQueryMasterTradeOrder) SetGmtExpectArrival(v util.LocalTime) *TmallServicecenterWorkcardDesensitizationQueryMasterTradeOrder {
	s.GmtExpectArrival = &v
	return s
}
func (s *TmallServicecenterWorkcardDesensitizationQueryMasterTradeOrder) SetOuterIdSku(v string) *TmallServicecenterWorkcardDesensitizationQueryMasterTradeOrder {
	s.OuterIdSku = &v
	return s
}
func (s *TmallServicecenterWorkcardDesensitizationQueryMasterTradeOrder) SetSkuDesc(v string) *TmallServicecenterWorkcardDesensitizationQueryMasterTradeOrder {
	s.SkuDesc = &v
	return s
}
func (s *TmallServicecenterWorkcardDesensitizationQueryMasterTradeOrder) SetPrice(v int64) *TmallServicecenterWorkcardDesensitizationQueryMasterTradeOrder {
	s.Price = &v
	return s
}
func (s *TmallServicecenterWorkcardDesensitizationQueryMasterTradeOrder) SetSellerNick(v string) *TmallServicecenterWorkcardDesensitizationQueryMasterTradeOrder {
	s.SellerNick = &v
	return s
}
func (s *TmallServicecenterWorkcardDesensitizationQueryMasterTradeOrder) SetShopName(v string) *TmallServicecenterWorkcardDesensitizationQueryMasterTradeOrder {
	s.ShopName = &v
	return s
}
func (s *TmallServicecenterWorkcardDesensitizationQueryMasterTradeOrder) SetSkuId(v int64) *TmallServicecenterWorkcardDesensitizationQueryMasterTradeOrder {
	s.SkuId = &v
	return s
}
func (s *TmallServicecenterWorkcardDesensitizationQueryMasterTradeOrder) SetAuctionId(v int64) *TmallServicecenterWorkcardDesensitizationQueryMasterTradeOrder {
	s.AuctionId = &v
	return s
}
func (s *TmallServicecenterWorkcardDesensitizationQueryMasterTradeOrder) SetAuctionTitle(v string) *TmallServicecenterWorkcardDesensitizationQueryMasterTradeOrder {
	s.AuctionTitle = &v
	return s
}
func (s *TmallServicecenterWorkcardDesensitizationQueryMasterTradeOrder) SetAttributes(v string) *TmallServicecenterWorkcardDesensitizationQueryMasterTradeOrder {
	s.Attributes = &v
	return s
}
func (s *TmallServicecenterWorkcardDesensitizationQueryMasterTradeOrder) SetGmtShipped(v util.LocalTime) *TmallServicecenterWorkcardDesensitizationQueryMasterTradeOrder {
	s.GmtShipped = &v
	return s
}
func (s *TmallServicecenterWorkcardDesensitizationQueryMasterTradeOrder) SetGmtPay(v util.LocalTime) *TmallServicecenterWorkcardDesensitizationQueryMasterTradeOrder {
	s.GmtPay = &v
	return s
}
func (s *TmallServicecenterWorkcardDesensitizationQueryMasterTradeOrder) SetOrderId(v int64) *TmallServicecenterWorkcardDesensitizationQueryMasterTradeOrder {
	s.OrderId = &v
	return s
}
func (s *TmallServicecenterWorkcardDesensitizationQueryMasterTradeOrder) SetBuyAmount(v int64) *TmallServicecenterWorkcardDesensitizationQueryMasterTradeOrder {
	s.BuyAmount = &v
	return s
}
func (s *TmallServicecenterWorkcardDesensitizationQueryMasterTradeOrder) SetOuterIdP(v string) *TmallServicecenterWorkcardDesensitizationQueryMasterTradeOrder {
	s.OuterIdP = &v
	return s
}
